import client from './client'

// 查询列表
export const LISTBLOG = (params) => client.get('/api/vblog/v1/blogs/',{params})

// 创建
export var CREATE_BLOG = (data) => client.post('/api/vblog/v1/blogs/', data)

// 更新
export const PUTBLOG = (id,data) => client.put(`/api/vblog/v1/blogs/${id}`,data)

// 查询详情
export const DESCRIBEBLOG = (id) => client.get(`/api/vblog/v1/blogs/${id}`)

// 删除
export const DELETEBLOG = (id) => client.delete(`/api/vblog/v1/blogs/${id}`)